<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
	<title>Search{ % if query %} Results{ % endif %}</title>
</head>
<body>
	<h1>Buscar Usuarios por Nacionalidad</h1>
	<form action="." method="GET">
	<label for="q">{{ user.username  }} </label>
	<input type="text" name="q" value="{{ query|escape }}">
	<input type="submit" value="Search">
	</form>
    
      	{% if query %}
      	<h2>Results for "{{ query|escape }}":</h2>
      		{% if results %}
      			<ul>
      				{% for book in results %}
      				<li>{{ book|escape }}</l1>
      				{% endfor %}
      			</ul>
      		{% else %}
      			<p>No nacionalidad found</p>
      			<p></p>
      		{% endif %}
      	{% endif %}
    
</body>
</html>
